﻿@model OnlineStore.Web.Models.User.CommentModelView
@{
    //ViewData["Title"] =;
    Layout = "_Layout1";
}
<script>
    function getScore(value) {
        var t = document.getElementById("Score");
        t.value = value;
    }
</script>
<form  method="post">
    <div class="order-evaluation clearfix" >
    <h4>给“商品”的评价</h4>
    <p>请严肃认真对待此次评价哦！您的评价对我们真的真的非常重要！</p>
    <div class="block">
        <ul>
            <li data-default-index="0">
                <span>
                    <input name="Score" asp-for="Score" id="Score" type="hidden" />
                    <button class="btn btn-success" onclick="getScore('100')" >100</button>
                    <button class="btn btn-primary" onclick="getScore('90')">90</button>
                    <button class="btn btn-yellow" onclick="getScore('80')">80</button>
                    <button class="btn btn-dark" onclick="getScore('70')">70</button>
                    <button class="btn btn-dark" onclick="getScore('60')">60</button>
                    <button class="btn btn-danger" onclick="getScore('50')">50</button>
                </span>
                <em class="level"></em>
            </li>
        </ul>
    </div>
    <div class="order-evaluation-text">
        本次交易，乖，摸摸头 给您留下了什么印象呢？
    </div>
    <div class="order-evaluation-textarea">
        <textarea name="commentString" asp-for="commentString" id="TextArea1"></textarea>
        <span>还可以输入<em id="textCount">50</em>个字</span>
    </div>
    <button type="submit" id="order_evaluation" asp-action="SendComment" asp-controller="Orders">评价完成</button>
  </div>
    <div id="order_evaluate_modal" class="dmlei_tishi_info"></div>
</form>

